﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using UserGroupsClassLIB;

namespace UserGroupsServiceLibrary
{

    [ServiceContract]
    public interface IUserGroupsService
    {

        [OperationContract]
        bool AddUserGroup(UserGroupClass obj);

        [OperationContract]
        List<UserGroupClass> GetAllUserGroup();
    }
    [DataContract]
    public class UserGroupClass
    {

        [DataMember]
        public int UserID;
        [DataMember]
        public int GroupID;
        [DataMember]
        public string Disabled;


        public int userID { get; set; }
    } 
}
